package com.axjy.service.impl;

import com.axjy.dao.RoleMapper;
import com.axjy.pojo.Role;
import com.axjy.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by zjn on 2018/2/3.
 */
@Service("RoleService")
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleMapper roleMapper;


    @Override
    public List<Role> list() {
        return roleMapper.list();
    }
}
